﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    public class Booking
    {
        private int _bookingId;
        private bool _isCollected;
        private bool _isCancelled;
        private DateTime _bookingDate;
        private Customer _customerId;
        private Route _routeId;
        private Battery _batteryId;

        public Booking(int bId, bool isCol, bool isCan, DateTime bDate, Customer c, Route r, Battery b)
        {
            this._bookingId = bId;
            this._isCollected = isCol;
            this._isCancelled = isCan;
            this._bookingDate = bDate;
            this._customerId = c;
            this._routeId = r;
            this._batteryId = b;
        }

        public int BookingId
        {
            get { return _bookingId; }
            set { _bookingId = value; }
        }

        public bool IsCollected
        {
            get { return _isCollected; }
            set { _isCollected = value; }
        }

        public bool IsCancelled
        {
            get { return _isCancelled; }
            set { _isCancelled = value; }
        }

        public DateTime BookingDate
        {
            get { return _bookingDate; }
            set { _bookingDate = value; }
        }

        public Customer CustomerId
        {
            get { return _customerId; }
        }

        public Route RouteId
        {
            get { return _routeId; }
        }

        public Battery BatteryId
        {
            get { return _batteryId; }
        }
    }
}
